package com.jiang.vo;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

/**
 * Student entity. @author MyEclipse Persistence Tools
 */
@SuppressWarnings("serial")
@Entity
@DiscriminatorValue(value="学生")
public class Student extends Member implements java.io.Serializable {

	// 父类配置了mid 等这里就不要再配置了
	private String school;
	private Double score;


	/** default constructor */
	public Student() {
	}


	@Column(name = "school", length = 50)
	public String getSchool() {
		return this.school;
	}

	public void setSchool(String school) {
		this.school = school;
	}

	@Column(name = "score", precision = 22, scale = 0)

	public Double getScore() {
		return this.score;
	}

	public void setScore(Double score) {
		this.score = score;
	}

}